<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #c th td {
            border: 1px solid black;
        }
    </style>
</head>

<body>
    <div id="c">
    </div>
</body>

</html>
<script src="../jQuery版本/jquery-3.6.0.js"></script>
<script src="js/jQuery-tab.js"></script>
<script>
    $('#c').table(['序号', '姓名', '年龄', '工资'], [{
        n: 'xy',
        age: '20',
        s: '10'
    }, {
        n: 'xy',
        age: '20',
        s: '10'
    }, {
        n: 'xy',
        age: '20',
        s: '10'
    }]);
</script>